<form method="post" id="editProductionOrder" action="${rc.getContextPath()}/manage/productOrder/closeSplitProductOrder" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
<input type="hidden" name="productOrderNum" value="${productOrderNum!''}"/>
<input type="hidden" name="navTabId" value="${navTabId!''}"/>
<div class="pageContent">
<table class="table border" width="250%" layoutH="80">
    <thead>
        <tr>
            <th width="40"><@label key="serialNumber.C">序号</@label></th>
            <th width="100"><@label key='productionOrderNum.C'>生产订单编号</@label></th>
            <th width="80"><@label key='orderStatusECode.C'>订单状态</@label></th>
            <th width="80"><@label key='orderType.C'>订单类型</@label></th>
            <th width="100"><@label key='materialCode.C'>物料编号</@label></th>
            <th width="100"><@label key='materialText.C'>物料名称</@label></th>
            <th width="100"><@label key='cmprocess_code.C'>工艺编号</@label></th>
            <th width="50"><@label key='cmprocessrev.C'>工艺版本</@label></th>
            <th width="80"><@label key='plannedQuantity.C'>计划数量</@label></th>
            <th width="80"><@label key='completedQuantity.C'>完工数量</@label></th>
            <th width="80"><@label key='scrappedQuantity.C'>报废数量</@label></th>
            <th width="80"><@label key='repairQuantity.C'>返修数量</@label></th>
            <th width="100"><@label key='requirementDate.C'>需求日期</@label></th>
            <th width="80"><@label key='productionlotNum.C'>生产批次号</@label></th>
            <th width="140"><@label key='actualstartDateTime.C'>实际开始时间</@label></th>
            <th width="140"><@label key='actualendDateTime.C'>实际结束时间</@label></th>
            <th width="80"><@label key='createUser.C'>创建人</@label></th>
            <th width="140"><@label key='createDateTime.C'>创建时间</@label></th>
            <th width="80"><@label key='modifyUser.C'>修改人</@label></th>
            <th width="140"><@label key='modifyDateTime.C'>修改时间</@label></th>
        </tr>
    </thead>
    <tbody>
    <#if orderDetails??><#if (orderDetails?size>0 )>
        <#list orderDetails as detail>
        <tr>
            <td>${detail_index + 1}</td>
            <td>${detail.productionOrderNum!''}</td>
            <td><#if orderStatusECode??>
                <#list orderStatusECode as ecode>
                    <#if detail.statuseCode == ecode.eCode>${ecode.eCodeText!''}<#break></#if>
                </#list>
                </#if>
            </td>
            <td>${detail.orderTypeText!''}</td>
            <td>${detail.materialCode!''}</td>
            <td>${detail.materialText!''}</td>
            <td>${detail.processCode!''}</td>
            <td>${detail.processRev!''}</td>
            <td>${detail.plannedQuantity!''}</td>
            <td>${detail.completedQuantity!''}</td>
            <td>${detail.scrappedQuantity!''}</td>
            <td>${detail.repairQuantity!''}</td>
            <td>${(detail.requirementDate?string("yyyy-MM-dd"))?if_exists}</td>
            <td>${detail.productionlotNum!''}</td>
            <td>${(detail.actualstartDateTime?string("yyyy-MM-dd HH:mm:ss"))?if_exists}</td>
            <td>${(detail.actualendDateTime?string("yyyy-MM-dd HH:mm:ss"))?if_exists}</td>
            <td>${detail.createUser!''}</td>
            <td>${(detail.createDateTime?string("yyyy-MM-dd HH:mm:ss"))?if_exists}</td>
            <td>${detail.modifyUser!''}</td>
            <td>${(detail.modifyDateTime?string("yyyy-MM-dd HH:mm:ss"))?if_exists}</td>
        </tr>
    </#list>
    </#if>
    <#else>
        <tr>
                <td colspan="11" class="noData">======<@label key='noListData.C'>列表无数据</@label>=====</font></td>
        </tr>
    </#if>
        </tbody>
</table>
<div class="formBar">
    <ul>
        <li><div class="buttonActive"><div class="buttonContent"><button type="submit"><@label key="forceClose.B">强制关闭</@label></button></div></div></li>
        <li><div class="buttonActiveGrey"><div class="buttonContent"><button type="button" class="close"><@label key="cancel.B">取消</@label></button></div></div></li>
    </ul>
</div>
</div>
</form>